<template>
	<Row :gutter="16">
		<ICol span="4" offset="16"><IInput  placeholder="手机号" v-model="searchParam.phone" ></IInput></ICol>
		<ICol span="4"><IButton type="primary" @click="search">搜索</IButton></ICol>
	</Row>
</template>
<script>
	import {Row,Col} from 'iview/src/components/grid';
	import Input from 'iview/src/components/input';
	import Button from 'iview/src/components/button';

	export default{
		components:{
			Row,
            'ICol':Col,
            'IInput' : Input,
            'IButton' : Button,
        },
        data () {
            return {
            	searchParam :{
            		phone : ''
            	},
            }
        },
        methods: {
        	search(){
        		this.$emit('resetTable',this.searchParam);
        	}
        }

	}
</script>